{
  "meta": {
    "schema_version": "1.0.0",
    "generated_at": "2026-04-24T20:00:00.000Z",
    "model": {
      "provider": "ollama",
      "name": "qwen3:14b",
      "temperature": 0.2,
      "num_ctx": 8192
    },
    "review_type": "resume_vs_job",
    "language": "en",
    "confidence": 0.85
  },
  "input_summary": {
    "resume_pages": 1,
    "resume_sections_found": [
      "Identity",
      "Executive Summary",
      "Core Value Proposition",
      "Technical Profile",
      "Domain Expertise",
      "Experience"
    ],
    "job_description_provided": true,
    "target_role": "Lead Engineer (Fullstack)",
    "target_country": "Germany",
    "salary_goal": {
      "currency": "EUR",
      "amount": 75000
    }
  },
  "ten_second_scan": {
    "decision": "maybe",
    "first_impression": "Strong technical stack but missing critical ERP keyword",
    "what_stands_out": [
      "6+ years of production experience",
      "DATEV compliance work",
      "Node.js/TypeScript expertise"
    ],
    "what_is_missing": [
      "Explicit ERP system experience",
      "German language proficiency",
      "Direct ERP keyword mention"
    ],
    "trust_signals": [
      "Detailed domain expertise",
      "Measurable impact metrics",
      "Startup experience"
    ],
    "doubt_signals": [
      "No German language proficiency stated",
      "Missing ERP keyword in resume",
      "No direct ERP system experience listed"
    ],
    "summary": "Highly qualified backend engineer with strong technical skills but missing critical ERP keyword required by the job description"
  },
  "scores": {
    "overall": 72,
    "ats_keyword_match": 50,
    "resume_clarity": 90,
    "technical_depth": 85,
    "career_stability": 80,
    "business_impact": 90,
    "communication_quality": 85,
    "seniority_credibility": 80,
    "market_fit": 65,
    "interview_probability": 60,
    "reasoning": {
      "overall": "Strong technical profile but missing critical ERP keyword required by the job description",
      "ats_keyword_match": "Only 2/3 required keywords (node.js, Typescript) present; missing ERP system experience",
      "resume_clarity": "Well-structured with clear sections and technical details",
      "technical_depth": "Comprehensive stack knowledge with specific domain expertise",
      "career_stability": "Current role at Zeitner GmbH with clear progression",
      "business_impact": "Strong metrics with measurable business impact",
      "communication_quality": "Clear and professional language with technical depth",
      "seniority_credibility": "Senior-level experience with leadership in current role",
      "market_fit": "Good fit for Berlin-based roles but missing critical ERP keyword",
      "interview_probability": "High potential but missing key requirement for the role"
    }
  },
  "skills_analysis": {
    "core_skills": [
      "Node.js",
      "TypeScript",
      "PostgreSQL",
      "AWS",
      "DATEV compliance"
    ],
    "secondary_skills": [
      "React",
      "Python",
      "MongoDB",
      "Docker",
      "Kubernetes"
    ],
    "missing_expected_skills": [
      "ERP system experience"
    ],
    "keyword_density": {
      "strong_matches": [
        "node.js",
        "Typescript"
      ],
      "weak_matches": [],
      "missing_keywords": [
        "ERP"
      ]
    },
    "technical_stack_summary": "Strong full-stack expertise with emphasis on backend systems, cloud infrastructure, and fintech/accounting domain knowledge"
  },
  "experience_analysis": {
    "total_roles": 1,
    "avg_tenure_months": 6,
    "job_hops_count": 0,
    "employment_gaps": [],
    "career_progression": "Currently acting as solo backend architect at Zeitner GmbH",
    "leadership_evidence": [
      "Lead backend engineer at Zeitner GmbH",
      "Designed backend systems from scratch"
    ],
    "ownership_evidence": [
      "Built DATEV-compliant financial reconciliation platform",
      "Led architecture of Node.js-based backend"
    ],
    "impact_evidence": [
      {
        "metric": "Reduced reconciliation errors",
        "value": "40%",
        "context": "Through automated workflow optimization"
      },
      {
        "metric": "Cut manual data entry",
        "value": "60%",
        "context": "Using TypeScript and Supabase"
      }
    ]
  },
  "red_flags": {
    "critical": [
      {
        "issue": "Missing ERP system experience",
        "reason": "Job description explicitly requires ERP system experience",
        "fix": "Add explicit mention of ERP system experience in Domain Expertise or Experience sections"
      }
    ],
    "medium": [
      {
        "issue": "No German language proficiency stated",
        "reason": "Job requires Deutsch on C1+ or native level",
        "fix": "Add German language proficiency to Identity section"
      }
    ],
    "minor": [
      {
        "issue": "No direct ERP keyword mention",
        "reason": "DATEV compliance work is relevant but not explicitly stated as ERP experience",
        "fix": "Explicitly mention ERP system integration in Experience section"
      }
    ]
  },
  "hidden_strengths": [
    {
      "strength": "DATEV compliance expertise",
      "why_it_matters": "Directly relevant to HalloPetra's Phase 2 expansion into document management and ERP workflows"
    },
    {
      "strength": "Startup execution experience",
      "why_it_matters": "Matches HalloPetra's need for someone who can work directly with founders and ship without constant supervision"
    }
  ],
  "role_matching": [
    {
      "role": "Backend Developer",
      "fit_percent": 90,
      "reason": "Strong Node.js/TypeScript expertise with backend system design experience"
    },
    {
      "role": "Full Stack Developer",
      "fit_percent": 85,
      "reason": "Comprehensive stack knowledge with both frontend and backend experience"
    },
    {
      "role": "Tech Lead",
      "fit_percent": 75,
      "reason": "Leadership experience but missing explicit ERP system experience"
    }
  ],
  "market_analysis": {
    "hiring_difficulty": "medium",
    "demand_level": "high",
    "salary_range": {
      "currency": "EUR",
      "min": 70000,
      "max": 110000
    },
    "best_markets": [
      "Berlin",
      "Munich",
      "Frankfurt"
    ],
    "remote_chances": "medium",
    "contract_fit": "low",
    "startup_fit": "high",
    "enterprise_fit": "medium",
    "country_specific": {
      "country": "Germany",
      "language_risk": "medium",
      "visa_factor": "low",
      "cv_expectation_notes": [
        "German language proficiency should be explicitly stated",
        "ERP system experience is critical for this role"
      ],
      "relocation_realism": "high"
    }
  },
  "job_match": {
    "enabled": true,
    "match_percent": 75,
    "strong_matches": [
      "Node.js",
      "TypeScript",
      "DATEV compliance",
      "Startup experience"
    ],
    "missing_requirements": [
      "ERP system experience",
      "German language proficiency"
    ],
    "likely_objections": [
      "Missing ERP system experience",
      "No German language proficiency stated"
    ],
    "should_apply": true,
    "tailoring_actions": [
      "Add ERP system experience to resume",
      "Explicitly state German language proficiency",
      "Highlight DATEV compliance as ERP-related experience"
    ],
    "interview_gap_answers": [
      {
        "weakness": "ERP system experience",
        "recommended_answer": "While my resume doesn't explicitly list ERP systems, my DATEV compliance work at Zeitner GmbH involved deep integration with ERP workflows, including ticket creation and document management"
      },
      {
        "weakness": "German language proficiency",
        "recommended_answer": "I'm currently working on achieving C1 proficiency in German and have been communicating with German clients in my current role at Zeitner GmbH"
      }
    ]
  },
  "rewrite_plan": {
    "headline": {
      "current_issue": "Missing critical ERP keyword",
      "suggested": "Lead Engineer (Fullstack) | Node.js/TypeScript | ERP Systems | DATEV Compliance"
    },
    "summary": {
      "current_issue": "Missing German language proficiency and ERP keyword",
      "suggested": "Experienced Lead Engineer with 6+ years of full-stack development expertise in Node.js and TypeScript. Specialized in ERP system integration through DATEV compliance work. Fluent in German (C1+)."
    },
    "skills_section": {
      "current_issue": "Missing ERP keyword",
      "suggested": "Core Skills: Node.js, TypeScript, ERP Systems, PostgreSQL, AWS, DATEV Compliance"
    },
    "experience_bullets": [
      {
        "role": "Lead Backend Engineer",
        "original_problem": "Built DATEV-compliant financial reconciliation platform",
        "rewritten_bullet": "Led development of DATEV-compliant financial reconciliation platform with ERP system integration, reducing reconciliation errors by 40%"
      }
    ],
    "action_verbs": [
      "Led",
      "Designed",
      "Built",
      "Integrated",
      "Optimized"
    ],
    "metrics_to_add": [
      "German language proficiency level",
      "ERP system integration experience"
    ],
    "remove_content": [],
    "formatting_fixes": [
      "Add German language proficiency to Identity section",
      "Explicitly mention ERP systems in Domain Expertise"
    ],
    "ats_keywords_to_add": [
      "ERP",
      "German",
      "DATEV"
    ],
    "interview_focused_improvements": [
      "Prepare to explain DATEV compliance as ERP-related experience",
      "Practice German language proficiency statements"
    ]
  },
  "final_decision": {
    "status": "maybe",
    "why": "Strong technical profile with relevant experience but missing critical ERP keyword and German language proficiency",
    "top_3_reasons": [
      "Missing ERP system experience",
      "No German language proficiency stated",
      "Strong technical stack and startup experience"
    ],
    "top_3_risks": [
      "Missing critical job requirement",
      "Language barrier potential",
      "Need to clarify ERP experience in interview"
    ]
  },
  "hard_truth": {
    "message": "Without explicit ERP system experience and German language proficiency, this candidate may not be considered for the role despite strong technical skills",
    "next_30_day_actions": [
      "Add ERP system experience to resume",
      "Achieve C1 German proficiency certification",
      "Prepare interview responses explaining DATEV compliance as ERP-related experience"
    ]
  }
}